#extend {
	.extend(@class, @name) {
		(~".@{name}") {
			.extend(@class, ~"@{name}");
		}
	}
	.register(@class) {
		.extend(@class, base);
		.run(1) {
			@all: ~`extendclasses`;
			(~".extendstart") {
				extend: 1
			}
			(~"@{all}") {
				.extend(@class);
			}
			(~".extendend") {
				extend: 1
			}
			.extend(@class, prototype);
		}
		.run(2) {
			@tmp: ~`extendclasses = ""`;
		}
		.run(1);
		.run(2);
	}
	.start() {
		.extend(register);
	}
}

.init() {
	//#extend > .start();
}